package com.xh.petdogexpert.expert.controller;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.xh.petdogexpert.base.BaseException;
import com.xh.petdogexpert.expert.dto.Dog;
import com.xh.petdogexpert.expert.service.IDogService;
import com.xh.petdogexpert.user.dto.User;

@RequestMapping(value = "/expert")
@Controller
public class DogController {

	@Autowired
	IDogService dogService;

	@Autowired
	HttpSession session;

	// @RequestMapping(value = "/dog/getUserDogDetail")
	// @ResponseBody
	// public Dog getUserDogDetail(Integer dogId) throws BaseException {
	// User user = (User) session.getAttribute("user");
	// Dog dog = dogService.getUserDogDetail(dogId, user.getId());
	// return dog;
	// }

}
